package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author: zhk
 * @since: 2025/7/3
 */
public interface WmMaterialService extends IService<WmMaterial> {
    WmMaterial uploadPicture(MultipartFile multipartFile) throws IOException;

    PageResponseResult lists(WmMaterialDto wmMaterialDto);
}
